#include <stdio.h>

#define MAX_WORD_LINE 50
#define MAX_FILE_NAME_LINE 50
#define MAX_FILE_WAY_LINE 100
#define FALSE 0
#define TRUE 1
#define CATEGORY_LIST_DIRECTORY "../../../resource/categoryList.txt"
#define WATER_LIST_DIRECTORY "../../../resource/water.txt"
#define REFERENCE_TEXT_DIRECTORY "../../../resource/"
#define ANALYZING_DIRECTORY "../../../analyzing_folder/text_for_analyse.txt"
#define WORD_ZERO_NAME 0
#define WORD_NUM_ONE 1


struct Word
{
	char wordName[MAX_WORD_LINE];
	int wordCount;
	float numPercent;
	Word *next;
};

struct TempWord
{
	char wordName[MAX_WORD_LINE];
	TempWord *next;
};

struct Text
{
	char topicName[MAX_FILE_NAME_LINE];
	int numWordArray;
	Word *linkArray;
	float percentMatches;
};

struct Links
{
	TempWord *prev;
	TempWord *curr;
	TempWord *tempRoot;
};

struct WLinks
{
	Word *prev;
	Word *curr;
	Word *tempRoot;
};